package Fuxi;

public class While {
	public static void main(String[] args) {
		int a=1;
		while(a<4) {
			a++;
		}
		System.out.println(a);
		int b=0;
		int sum=0;
		do {
			b++;
			sum+=b;
			System.out.println(sum);
		} while (b<4);
	}

}
